<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

		<title>INDEX</title>

		<link href="/Public/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
		<link href="/Public/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />
		<link rel="icon" href="/Public/images1/ICONlogo.png" type="image/x-icon"/>
		<link href="/Public/basic/css/demo.css" rel="stylesheet" type="text/css" />

		<link href="/Public/css1/hmstyle.css" rel="stylesheet" type="text/css"/>
		<link href="/Public/css1/skin.css" rel="stylesheet" type="text/css" />
		<script src="/Public/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="/Public/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>

		<style>


			.box{
				background: #eeeeee;
			}
		</style>
	</head>

	<body style="">
		<div class="hmtop">
			<link rel="stylesheet" href="/Public/Static/css/index.css" type="text/css">

<link href="/Public/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
<link href="/Public/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="/Public/images1/ICONlogo.png" type="image/x-icon"/>
<link href="/Public/basic/css/demo.css" rel="stylesheet" type="text/css" />

<link href="/Public/css1/hmstyle.css" rel="stylesheet" type="text/css"/>
<link href="/Public/css1/skin.css" rel="stylesheet" type="text/css" />
<script src="/Public/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
<script src="/Public/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
<div class="am-container header">
    <ul class="message-l">
        <div class="topMessage">
            <div class="menu-hd">
                <a href="<?php echo U('Home/User/login');?>" target="_top" class="h" style="border-right: 1px solid #000">Sign in&nbsp;</a>
                <a href="<?php echo U('Home/User/register');?>" target="_top">Join</a>
            </div>
        </div>
    </ul>
    <ul class="message-r">
        <div class="topMessage home">
            <div class="menu-hd"><a href="<?php echo U('Home/Index/index');?>" target="_top" class="h"><span>INDEX</span></a></div>
        </div>
        <div class="topMessage my-shangcheng">
            <div class="menu-hd MyShangcheng"><a href="<?php echo U('Home/User/index');?>" target="_top"><img src="/Public/images1/user.png"  alt=""><span>Personal center</span></a></div>
        </div>
        <div class="topMessage mini-cart">
            <div class="menu-hd"><a id="mc-menu-hd" href="<?php echo U('Home/Cart/cart');?>" target="_top"><img src="/Public/images1/shop.png" alt=""><span>Shopping cart</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="#" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Favorite</span></a></div>
        </div>
        <div class="topMessage favorite">
            <div class="menu-hd"><a href="<?php echo U('Home/User/logout');?>" target="_top"><img src="/Public/images1/love.png" width="24" alt=""><span>Logout</span></a></div>
        </div>
    </ul>
</div>

				<!--悬浮搜索框-->

			<div class="nav white">
				<div class="logo"><img src="/Public/images1/logoNew.png" /></div>
				<div class="logoBig">
					<img src="/Public/images1/logoNew.png" width="200"/>
				</div>

				<div class="search-bar pr">
					<a name="index_none_header_sysc" href="#"></a>
					<form>
						<input id="searchInput" name="index_none_header_sysc" type="text" placeholder="search for" autocomplete="off">
						<input id="ai-topsearch" class="submit am-btn" value="Search for" index="1" type="submit">
					</form>
				</div>
			</div>

			<div class="clear"></div>

			<div class="banner">
			  <!--轮播 -->
				<div class="am-slider am-slider-default scoll" data-am-flexslider id="demo-slider-0">
					<ul class="am-slides">
						<li class=><a><img src="/Public/images1/banner1.jpg" /></a></li>
						<li class=><a><img src="/Public/images1/banner2.jpg" /></a></li>
						<li class=><a><img src="/Public/images1/banner3.jpg" /></a></li>
					</ul>
				</div>
				<div class="clear"></div>
			</div>
			<div class="shopNav">
				<div class="slideall">
					
					   <div class="long-title"><span class="all-goods">ALL Categories</span></div>
					   <div class="nav-cont">
							<ul>
								<li class="index"><a href="/index.php">HOME</a></li>
<li class="qc"><a href="/index.php">PRODUCTS</a></li>
<li class="qc"><a href="/index.php/Home/Public/aboutAs">ABOUT US</a></li>
<li class="qc"><a href="/index.php">NEWS</a></li>
<li class="qc last"><a href="/index.php/Home/Public/contact">CONTACT US</a></li>
							</ul>
						</div>					
		        				
						<!--侧边导航 -->
						<div id="nav" class="navfull">
							<div class="area clearfix">
								<div class="category-content" id="guide_2">

									<div class="category">
										<ul class="category-list" id="js_climit_li">
											<?php if(is_array($goods_category_tree)): foreach($goods_category_tree as $k=>$v): if($v[level] == 1): ?><li class="appliance js_toggle relative first">
												<div class="category-info">
													<h3 class="category-name b-category-name"><i><img src="<?php echo ($v["image"]); ?>"></i><a class="ml-22" title=""><?php echo ($v['name']); ?></a></h3>
													</div>

												<div class="menu-item menu-in top">
													<div class="area-in">
														<div class="area-bg">
															<div class="menu-srot">
																<div class="sort-side">
																	<?php $index = '1'; ?>
																	<?php if(is_array($v[tmenu])): foreach($v[tmenu] as $k2=>$v2): if($v2[parent_id] == $v[id]): if($index++ > 3) break; ?>
																	<dl class="dl-sort">
																		<dt style=""><span title="" style=""><?php echo ($v2['name']); ?></span></dt>
																		<?php if(is_array($v2[sub_menu])): foreach($v2[sub_menu] as $k3=>$v3): if($v3[parent_id] == $v2[id]): ?><dd><a href="<?php echo U('Home/Goods/getListByCategory',array('id'=>$v3[id]));?>" href="#"><span><?php echo ($v3['name']); ?></span></a></dd><?php endif; endforeach; endif; ?>
																	</dl><?php endif; endforeach; endif; ?>
																</div>
															</div>
														</div>
													</div>
												</div>
											<b class="arrow"></b>
											</li><?php endif; endforeach; endif; ?>
											<li class="appliance js_toggle relative first">

											<li class="appliance js_toggle relative first">
											</li>
											<li class="appliance js_toggle relative first">
											</li>
											<li class="appliance js_toggle relative first">
											</li>
											<li class="appliance js_toggle relative first">
											</li>
										</ul>
									</div>
								</div>

							</div>
						</div>

						
						<!--轮播-->
						
						<script type="text/javascript">
							(function() {
								$('.am-slider').flexslider();
							});
							$(document).ready(function() {
								$("li").hover(function() {
									$(".category-content .category-list li.first .menu-in").css("display", "none");
									$(".category-content .category-list li.first").removeClass("hover");
									$(this).addClass("hover");
									$(this).children("div.menu-in").css("display", "block")
								}, function() {
									$(this).removeClass("hover")
									$(this).children("div.menu-in").css("display", "none")
								});
							})
						</script>



					<div class="clear"></div>
				</div>
				<script type="text/javascript">
					if ($(window).width() < 640) {
						function autoScroll(obj) {
							$(obj).find("ul").animate({
								marginTop: "-39px"
							}, 500, function() {
								$(this).css({
									marginTop: "0px"
								}).find("li:first").appendTo(this);
							})
						}
						$(function() {
							setInterval('autoScroll(".demo")', 3000);
						})
					}
				</script>
			</div>

					<div class="clear "></div>
					<div class="box">

					</div>
                    <div class="box">
                        <div class="am-g am-g-fixed recommendation" >
                            <div class="clock am-u-sm-3">
                                <img src="/Public/images/2016.png">

                                <p>PRODUCTS<br>HOT</p>
                            </div>
							<?php if(is_array($hot_goods)): foreach($hot_goods as $k=>$v): ?><div class="am-u-sm-4 am-u-lg-3 ">
								<a href="/index.php/Home/Goods/introduction/?id=<?php echo ($v["goods_id"]); ?>">
                                <div class="info ">
                                    <h3>HOT</h3>
                                    <h4><?php echo (getSubstr($v["goods_name"],0,12)); ?></h4>
                                </div>
                                <div class="recommendationMain one">
                                    <!--<img src="/Public/images1/p2.jpg ">-->
                                    <img src="<?php echo ($v["goods_image_main"]); ?>">
                                </div>
								</a>
                            </div><?php endforeach; endif; ?>
                    </div>


                    </div>
            <?php if(is_array($hot_cat)): $i = 0; $__LIST__ = $hot_cat;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div id="f1" class="box">
					<!--甜点-->

					<div class="am-container ">
						<div class="shopTitle " >
							<h4><?php echo ($vo["name"]); ?></h4>
							<span class="more ">
                   			 <a href="<?php echo U('Home/Goods/getListByCategory',array('id'=>vo[id]));?>">more<i class="am-icon-angle-right" style="padding-left:10px ;" ></i></a>
                        	</span>
						</div>
					</div>
                        <div class="am-g am-g-fixed floodOne ">
                            <div class="am-u-sm-5 am-u-md-3 am-u-lg-4 text-one ">
                                <a href="/index.php/Home/Goods/introduction/?id=<?php echo ($vo["big_goods"]["goods_id"]); ?>">
                                    <div class="outer-con ">
                                        <div class="title ">
                                            <?php echo (getSubstr($vo["big_goods"]["goods_name"],0,10)); ?>
                                        </div>
                                        <!--<div class="sub-title ">-->
                                            <!--CORRUGATED PAPER-->
                                        <!--</div>-->
                                    </div>
                                    <!--<img src="/Public/images1/SH-C0034.png" class="imgs">-->
                                    <img src="<?php echo ($vo["big_goods"]["goods_image_main"]); ?>" class="imgs">
                                </a>
                            </div>
                            <div class="am-u-sm-7 am-u-md-5 am-u-lg-4">
                                <?php if(is_array($vo["mid_goods"])): $i = 0; $__LIST__ = $vo["mid_goods"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vi): $mod = ($i % 2 );++$i;?><div class="text-two">
									<a href="/index.php/Home/Goods/introduction/?id=<?php echo ($vi["goods_id"]); ?>">
                                    <div class="outer-con ">
                                        <div class="title ">
                                            <?php echo (getSubstr($vi["goods_name"],0,10)); ?>
                                        </div>
                                        <div class="sub-title ">
                                            PRICE：$<?php echo ($vi["shop_price"]); ?>
                                        </div>

                                    </div>

                                   <img src="<?php echo ($vi["goods_image_main"]); ?> ">
									</a>
                                </div><?php endforeach; endif; else: echo "" ;endif; ?>
                            </div>
                            <div class="am-u-sm-12 am-u-md-4 ">
                                <?php if(is_array($vo["small_goods"])): $i = 0; $__LIST__ = $vo["small_goods"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vii): $mod = ($i % 2 );++$i;?><div class="am-u-sm-3 am-u-md-6 text-three">
									<a href="/index.php/Home/Goods/introduction/?id=<?php echo ($vii["goods_id"]); ?>">
                                    <div class="outer-con ">
                                        <div class="title ">
                                            <?php echo (getSubstr($vii["goods_name"],0,10)); ?>
                                        </div>

                                        <div class="sub-title ">
                                            PRICE：$<?php echo ($vii["shop_price"]); ?>
                                        </div>
                                    </div>
                                    <img src="<?php echo ($vii["goods_image_main"]); ?>">
									</a>
								</div><?php endforeach; endif; else: echo "" ;endif; ?>

                            </div>

                        </div>


					</div>
                 <div class="clear "></div><?php endforeach; endif; else: echo "" ;endif; ?>




   
<div class="footer ">
    <div class="footer-bd ">
        <p>China Contact: Ms.Sophia Gan EMAIL:sophia@sensilintl.com Tel: 0086 15880683346</p>
        <p>USA Contact: Mr.Brian Williams EMAIL:brain@sensilintl.com
            Tel:001 702 308 4860 M: 001 660537 2111 /001 619 5724642</p>
        <p>© 2017-2018 Sensil International INC.</p>
    </div>
</div>



        <script src="/Public/basic/js/jquery-1.9.min.js "></script>
		<script type="text/javascript " src="/Public/basic/js/quick_links.js "></script>
	</body>

</html>